const Routers = require('koa-router');
const LabelRouter = new Routers({
  prefix: '/label'
});
const {verifyLogin} = require('../middlewares/auth.middleware');
const {
  createLabel,getLabelList
} = require('../controllers/label.controller');
LabelRouter.post('/',verifyLogin, createLabel);
//h获取标签列表
LabelRouter.get('/',getLabelList);

module.exports = LabelRouter;

